<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Filling the Form </title>
<link href="/css/template.css" rel="stylesheet" type="text/css" />
<link type="text/css" href="/css/start/jquery-ui-1.8.21.custom.css" rel="Stylesheet" />	
<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/js/jquery-ui-1.8.21.custom.min.js"></script>
</head>
<body>
<?php $shop = unserialize(ARR_SHOP_GROUP);?>
<?php foreach ($this->list as $k => $v){?>
		<table width="700" border="1" cellspacing="0" cellpadding="0" align="center">
			<tr>
				<th colspan = "7">SHOP:<?php echo $shop[$k]?></th>
				
			</tr>
			<tr>
				<th>Date</th>
				<th>Parts</th>
				<th>Title</th>
				<th>QTY</th>
				<th>Price</th>
				<th>Staff</th>
				<th>Invoice</th>
			</tr>
			<?php foreach ($v as $k2 => $v2){?>
					<tr>
						<td><?php echo $v2['date_move']?></td>
						<td><?php echo $v2['pr_code']?></td>
						<td><?php echo $v2['pr_des']?></td>
						<td><?php echo $v2['qty_product']?></td>
						<td><?php echo $v2['pr_price']?></td>
						<td><?php echo $v2['staff_name']?></td>
						<td><?php echo $v2['id_job']?></td>
					
					</tr>
			<?php }?>
		
		</table>
		<br/><br/>
<?php }?>
</body>
</html>